package com.chenyun.common.enums.commom;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 标识是否启用枚举
 * @author: Lonni
 * @date: 2023/3/28 0028 10:07
 */
@Getter
public enum EnableEnum {


    /**
     * 未启用|禁用
     */
    UNTENABLE(0,"未启用"),
    /**
     * 启用
     */
    ENABLE(1,"已启用");


    @EnumValue
    private Integer enable;
    @JsonValue
    private String enableName;

    EnableEnum(Integer enable, String enableName) {
        this.enable = enable;
        this.enableName = enableName;
    }



}
